package com.tju.resource.server;

import com.tju.resource.model.TbOrder;
import com.tju.resource.model.TbProdPlan;
import com.tju.resource.tool.result.Result;
import com.tju.resource.tool.tool.ClientParameters;

import java.util.List;

public interface TbProdPlanService {

    TbProdPlan get(Long id);

    List<TbProdPlan> getByOR(Long orderId);

    Long getProds(Long orderId);

    Result<Object> getAll(ClientParameters params);

    Result<Object> add(TbProdPlan plan);

    int addEpt(TbOrder order);

    Result<Object> upd(TbProdPlan plan);

    Result<Object> del(TbProdPlan plan);

}
